Skip to content

fix: cache UserProfile and UserFlags in DataStore to survive cold starts#1011

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/cache-profile-and-flags
Jun 27, 2026
Merged

fix: cache UserProfile and UserFlags in DataStore to survive cold starts#1011
bmc08gt merged 1 commit into
code/cashfrom
fix/cache-profile-and-flags

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

On cold start without network, userProfile and flags were null until the network fetch completed, causing the send flow to incorrectly show PhoneGate. Cache both in DataStore and restore early in login.

On cold start without network, userProfile and flags were null until
the network fetch completed, causing the send flow to incorrectly
show PhoneGate. Cache both in DataStore and restore early in login.

Signed-off-by: Brandon McAnsh <[email protected]>
@bmc08gt bmc08gt self-assigned this Jun 26, 2026
@github-actions github-actions Bot added type: fix Bug fix area: auth Login, session, access keys, identity area: network gRPC, connectivity, API, exchange rates area: build-system Gradle, convention plugins, build-logic labels Jun 26, 2026
@bmc08gt bmc08gt merged commit af1e036 into code/cash Jun 27, 2026
3 checks passed
@bmc08gt bmc08gt deleted the fix/cache-profile-and-flags branch June 27, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: auth Login, session, access keys, identity area: build-system Gradle, convention plugins, build-logic area: network gRPC, connectivity, API, exchange rates type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant